package core.actions;

import core.weapons.Bullet;

public class FireSniper extends Action {
	
	public FireSniper(){
		super();
		name="Sniper";
		imageName="iconSniper.png";
		color = ActionConstants.attackColor;
		nameChar='S';
		needDir=true;
		energyCost=70;
		value=30;
		dirRes=3;
		reset();
	}
	
	public void execute(){
		main.attacks.add(new Bullet(master.getHero().getX(), master.getHero().getY(), master, inputDir, 350, 12000, 0.00, 1000000));
		/*~~~~(>o_o)>d===) Need better system for bullets b <('_'<)~~~~*/
		System.out.println("Sniper Fired");
	}
}
